package com.hhs.storage.bean;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuanjun
 * @since 2020-08-17
 */
@Data
@TableName("yym_user_yijian")
public class YymUserYijian implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId("id_")
    private String id;
    /**
     * 反馈内容
     */
    @TableField("content_")
    private String content;
    /**
     * 评分0~5
     */
    @TableField("pf_")
    private Integer pf;
    /**
     * 用户ID
     */
    @TableField("user_id_")
    private String userId;
    /**
     * qq邮箱
     */
    @TableField("qqmail_")
    private String qqmail;
    /**
     * 创建时间
     */
    @TableField("create_time_")
    @JSONField(format="yyyy-MM-dd hh:mm:ss")
    private Date createTime;
    /**
     * 角色id
     */
    @TableField("role_id_")
    private String roleId;

    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String account;
}
